package com.ant.xmla.datacrawling.utils.http;

import org.apache.http.NameValuePair;

public class NameValue implements NameValuePair {

    public NameValue(String name, String value) {
        this.name = name;
        if(value==null){
            this.value ="";
        }else{
            this.value = value;
        }

    }

    private String name;
    private String value;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

}
